<template>
  <div >
    <el-container>
      <!-- 头部 -->
      <el-header>
        <Head />
      </el-header>
      <el-container>
        <!-- 左侧导航 -->
        <NavMenu />

        <!-- 右边主体部分 -->
        <el-main>
          <router-view /> <!-- 让内容显示在右侧 -->
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import NavMenu from './navMenu.vue'
import Head from './head.vue'
export default {
  data(){
    return{
        
    }
  },
  methods:{

    },
    components:{
      NavMenu,
      Head
    }
}
</script>




<style>
  .el-header, .el-footer {
    background-color: #2657c0;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  
  .el-aside {
    background-color: #2657c0;
    color: #333;
    text-align: center;
    line-height: 200px;
  }
  
  .el-main {
    background-color: #2657c0;
    color: #333;
    text-align: center;
    line-height: 160px;
  }
  
  body > .el-container {
    margin-bottom: 40px;
  }
  
  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }
  
  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }
</style>